<%--
  Created by IntelliJ IDEA.
  User: zhaocan
  Date: 2018/7/10
  Time: 14:28
  Description:;来电弹屏ui更换，重写
--%>
<%@ page contentType="text/html;charset=UTF-8"%>
<html>
<head>
    <title>来电弹屏</title>
    <%@ include file="/WEB-INF/pages/common/meta.jsp" %>
    <%@include file="/WEB-INF/pages/common/ui.jsp" %>
    <script type="text/javascript">
        var G_CTX_PATH = "${ctx}";
        function rumpLDTP() {
        	var tel = $('#customerTel').val();
//            var tel = '17612174369'
        	if(tel.length > 32){
        		/*window.parent.rlliu*/showInfoMsg("来电号码长度过长");
            return;
        	}
        	 //window.parent.vm.openTab("来电弹屏"+$('#customerTel').val(),'/callScreenPopUp/'+$('#customerTel').val()+'.do',true,0,portal_global_systemCode,true);

       	 	var accessurl = '/ccosCallScreenPopUp/'+$('#customerTel').val()+'/.do';
            openTabCrossDomain("ccosCallScreenPopUp",{},{title:"来电弹屏"+$('#customerTel').val(),systemCode:"CC",url:accessurl});
        }
    </script>
</head>
<body>
<div data-options="region:'center',border:0,bottom:'10px'" class="container-wrap">
    <div class="container-center-wrap"
         style="margin-top: 5px;margin-left: 8px;margin-right: 8px;margin-bottom: 8px;">
        <div class="tabs-controlbox" data-options="border:0,resizable:true">
            <div title="来电弹屏" data-options="resizable:true" class="btitle" style="padding:0px;padding-bottom: 0; position: relative;">
                <!--左侧开始-->
                <div>
                    <div class="leftTabShow leftTabShow2">
                        <div class="easyui-tabs" id ="leftCsSmOrdeTab" data-options="showHeader:false">
                            <div title="" style="padding:10px">
                                <div class="newgd-wrap">
                                    <form id ="custSerForm">
                                        <div class="new-gongdan easyuitextbox gongdan-box">
                                            <div class="acc-row" style="margin-left:5px;">
                                                <div class="acc-items width33">
                                                    <div class="acc-title">来电号码：</div>
                                                    <div class="acc-con">
                                                        <div class="acc-con-main">
                                                            <input type="text" name="customerTel" id="customerTel" value="${phone}" class="easyui-textbox" data-options="validType:['code','length[0,32]']"/>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </form>
                                    <div style="text-align:center;padding:5px;margin-top: 10px;">
                                        <a href="javascript:void(0)" id ="submitButton"class="easyui-linkbutton resetButton" onclick="rumpLDTP()">来电弹屏</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
       </div>
    </div>
</div>
</body>
</html>